package demo4;

// 具体命令：剪切
public class CutCommand extends Command {
    public CutCommand(EditorMediator mediator) {
        super(mediator);
    }

    @Override
    public void execute() {
        mediator.cut(); // 委托中介者处理
    }
}
